package com.qd.pay.repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cdqidi.db.BaseService;
import com.qd.pay.mapper.WxBillsTimeMapper;
import com.qd.pay.model.WxBillsTime;
import org.springframework.stereotype.Repository;

/**
 * @author sjk
 */
@Repository
public class WxBillsTimeRepository extends BaseService<WxBillsTimeMapper, WxBillsTime> {

    public boolean isExists(Integer addTime) {
        return getBaseMapper().exists(new QueryWrapper<WxBillsTime>().eq("tjsj", addTime));
    }
}